*{
    padding: 0px;
    margin: 0px;
}
.header{
    background-image: url("../image/headerbackground.jpg");
    padding: 20px 0px;
    border-bottom: 1px solid #999999;
}
.nav{
    background: url("../image/loge.jpg") no-repeat 0px 0px;
}
.nav>p{
    text-align: right;
    margin-right: 20px;
}
.nav>p:nth-of-type(2){
    text-align: left;
    margin-left: 200px;
    font-size: 25px;
    font-family: 华文行楷;
}
.main{
    margin: 0 auto;
    width: 1200px;
}
.food{
    width: 1200px;
    display: flex;
    padding-bottom: 40px;
}
.cakeImg{
    flex: 780px;
    padding-top: 20px;
}
.bigimg img{
    padding-left: 50px;
    width: 620px;
    height: 500px;
}
.bigimg button{
    float: right;
}
.smallimg{
    padding-left: 50px;
}
.smallimg div{
    padding: 10px;
}
.foodbutton{
    margin-top: 20px;
}
.foodbutton button{
    margin-left: 50px;
    height: 40px;
    margin-right: 10px;
}
.foodbutton a{
    float: right;
    margin-right: 130px;
    line-height: 40px;
}
.cakeForm{
    padding: 40px 20px;
    flex: 500px;
}
.cakeForm span{
    font-size: 18px;
    color: orange;
}
.food .cakeForm>p:first-of-type{
    font-size: 20px;
    color: lightslategrey;
}
.food .cakeForm label{
    display: inline-block;
    width: 80px;
    height: 30px;
    border: 1px solid black;
    padding: 12px;
    margin-right: 30px;
}
.cakeForm input[type="text"]{
    width: 60px;
    text-align: center;
}
.cakeForm input[type="button"]{
    width: 30px;
    text-align: center;
}
.cakeForm p{
    color: lightslategrey;
}
.cakeForm p a{
    font-size: 14px;
    padding-right: 60px;
}
.cakeForm form label{
    margin-left: 10px;
    background-color: rgb(67,39,25);
}
.buy{
    display: inline-block;
    width: 150px;
    height: 60px;
    background-color:rgb(67,39,25);
    font-size: 16px;
    color: white;
}
.details{
    width: 1200px;

}
.details p{
    margin-top: 20px;
    font-size: 18px;
    color: lightslategrey;
    padding-left: 30px;
}
.details table{
    margin-bottom: 20px;
}
.details table td{
    padding-left: 30px;
    width: 400px;
    line-height: 40px;
    font-size: 14px;
    color: grey;
}
.details .detailsPhoto{
    padding-top: 20px;
    width: 1200px;
    text-align: center;
    background-color: rgb(248,248,248);
}
.docomment{
    margin: 20px 0;
    background-color: rgb(248,248,248);
    width: 1200px;
    height: 250px;
}
.docomment td{
    padding-left:30px;
    padding-top: 20px;
}
.docomment textarea{
    width: 1000px;
    height: 80px;
}
.docomment button,.reset{
    background-color:rgb(67,39,25);
    color: white;
    width: 60px;
    height: 30px;
}

.comment{
    border-top: 2px solid #563F2F;
    background-color: rgb(248,248,248);
    width: 1200px;
    padding: 30px;
}

.commentnav{
   text-align: center;
}
.usercomment{
    margin: 10px 0px;
    height: 150px;
    border: 2px solid gainsboro;
}
.usercomment .user{
    text-align: center;
    line-height: 150px;
    height: 150px;
    border-right: 2px dashed gainsboro;
}
.usercomment .commentDetails p{
    line-height: 40px;
}
.usercomment .commentDetails p:nth-of-type(2){
    height: 40px;
    line-height: 20px;
}
.commentDetails p:last-of-type{
    color: grey;
}

.score{
    margin: 0px;
    height: 200px;
}
.score div{
    height: 200px;
    line-height: 200px;
    text-align: center;
    border: 1px solid black;
}
hr{
    color: #563F2F;
    margin-bottom: 20px;
}
.footer{
    color: #333333;
    margin-bottom: 100px;
}
.container{
    overflow: hidden;
}
.footer p{
    float: left;
}
.footer ul li{
    float: right;
    list-style: none;
}